﻿using System;
using MongoDB.Attributes;

namespace Zeus.Domain.GameSdk.Model.Log
{
    public class SdkLog
    {
        [MongoId]
        public string ID { get; set; }
        public string Request { get; set; }
        public string Response { get; set; }
        public DateTime StartTime { get; set; }
        public DateTime EndTime { get; set; }

        public override string ToString()
        {
            string format = "ID: {0}\nRequest: {1}\n"
                          + "Response: {2}\nStartTime: {3}\nEndTime: {4}\n";

            return string.Format(format, ID, Request, Response, StartTime, EndTime);
        }
    }
}
